package com.starry.module.system.core.post.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.starry.db.core.entity.TenantBaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

;

/**
 * 系统岗位-实体
 *
 * @author xiaoke
 */
@Schema(description = "系统岗位实体")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_post")
public class SysPost extends TenantBaseEntity {

    @TableId
    private Long id;

    /**
     * 岗位编码
     */
    @Schema(description = "岗位编码")
    private String code;
    /**
     * 岗位名称
     */
    @Schema(description = "岗位名称")
    private String name;
    /**
     * 状态（1正常 0停用）
     */
    @Schema(description = "状态（1正常 0停用）")
    private Integer status;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
}

